AUX_SOURCE_DIRECTORY(./util/ DIR_SRCS)
AUX_SOURCE_DIRECTORY(./mem/ DIR_SRCS)
AUX_SOURCE_DIRECTORY(./disk/ DIR_SRCS)
AUX_SOURCE_DIRECTORY(. DIR_SRCS)

ADD_LIBRARY(cache STATIC ${DIR_SRCS})
TARGET_LINK_LIBRARIES(cache event)